<?php
/* Smarty version 3.1.31, created on 2018-05-17 23:45:38
  from "D:\wamp64\www\wanju\views\commission\edit.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.31',
  'unifunc' => 'content_5afda3a2c45976_61752839',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'e41df8b14db4f86c75798a8e432f235fd1cf61f1' => 
    array (
      0 => 'D:\\wamp64\\www\\wanju\\views\\commission\\edit.html',
      1 => 1526571935,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5afda3a2c45976_61752839 (Smarty_Internal_Template $_smarty_tpl) {
?>

  <div class="x_panel">
    <div class="x_content row">
      <div class=" col-md-6 col-sm-12 col-xs-12">
        <form class="form-horizontal form-label-left" action="<?php echo $_smarty_tpl->tpl_vars['actionUrl']->value;?>
" method="post">
          <div class="form-group">
            <label class="control-label col-md-4 col-sm-4 col-xs-12">角色：</label>
            <div class="checkbox col-md-8 col-sm-8 col-xs-12">
              <?php if ($_smarty_tpl->tpl_vars['config']->value['role'] == 1) {?>店主<?php } else { ?>店长<?php }?>
              </div>
            <label class="control-label col-md-4 col-sm-4 col-xs-12">类型：</label>
            <div class="checkbox col-md-8 col-sm-8 col-xs-12">
              <?php if ($_smarty_tpl->tpl_vars['config']->value['type'] == 0) {?>入场券使用<?php } elseif ($_smarty_tpl->tpl_vars['config']->value['type'] == 1) {?>会员卡使用<?php } elseif ($_smarty_tpl->tpl_vars['config']->value['type'] == 2) {?>商品出售<?php } else { ?>商品回收<?php }?>
            </div>
            <label class="control-label col-md-4 col-sm-4 col-xs-12">佣金比例：</label>
            <div class="checkbox col-md-8 col-sm-8 col-xs-12">
              <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[config_value]" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['config_value'];?>
">
            </div>
          </div>
          <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
            <input name="config_id" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['config_id'];?>
">
            <button class="btn btn-primary" type="submit">更新</button>
          </div>
        </form>
      </div>
    </div>
  </div><?php }
}
